package com.ap.core.bulkupload.translator;

import com.ap.core.bulkupload.jaxb.domain.DistributorIdType;
import com.ap.core.bulkupload.jaxb.domain.FileHdrType;
import com.ap.core.bulkupload.jaxb.domain.Merchant;
import com.ap.core.bulkupload.jaxb.domain.MerchantRegBulkUploadResponseType;

/**
 * The Interface BulkUploadMerchantResponseTranslator.
 * @author Siva.Pochana
 */
public interface BulkUploadMerchantResponseTranslator {

	/**
	 * Builds the response.
	 *
	 * @return the merchant reg bulk upload response type
	 */
	MerchantRegBulkUploadResponseType buildResponse();
	
	/**
	 * Sets the file header.
	 *
	 * @param fileHdrType the new file header
	 */
	void setFileHeader(FileHdrType fileHdrType);
	
	/**
	 * Sets the distributor.
	 *
	 * @param distributorIdType the new distributor
	 */
	void setDistributor(DistributorIdType distributorIdType);
	
	/**
	 * Sets the merchant.
	 *
	 * @param merchant the merchant
	 * @param isRegistered the is registered
	 */
	void setMerchant(Merchant merchant, boolean isRegistered);
	
}
